#ifndef __BSP_I2C_H_
#define __BSP_I2C_H_

#include "bsp_include.h"


int8_t IMU_I2C_Write(uint8_t dev_id,uint16_t reg_add,uint8_t *wbuf,uint16_t length);
int8_t IMU_I2C_Read(uint8_t dev_id,uint16_t reg_add,uint8_t *rbuf,uint16_t length);

void IMU_MPU6050_Init(void);
void IMU_ReadGyro(uint16_t *gyro);
void IMU_ReadAccel(uint16_t *accel);
void IMU_ReadTempr(uint16_t tempr);



#endif
